package com.dtagri.fjwlw.ui;

import com.dtagri.fjwlw.R;
import com.dtagri.fjwlw.fragment.MainFragment;
import com.dtagri.fjwlw.fragment.ManageFragment;

/**
 * 主面底部枚举
 * @author wxjn
 * 创建日期:2015-09-01
 */
public enum ZMainTab {

	MAIN(0, "主页", R.drawable.tab_icon_main, MainFragment.class),

	SET(1, "我的", R.drawable.tab_icon_manage, ManageFragment.class);

	private int idx;
	private String resName;
	private int resIcon;
	private Class<?> clz;

	private ZMainTab(int idx, String resName, int resIcon, Class<?> clz) {
		this.idx = idx;
		this.resName = resName;
		this.resIcon = resIcon;
		this.clz = clz;
	}

	public int getIdx() {
		return idx;
	}

	public void setIdx(int idx) {
		this.idx = idx;
	}

	public String getResName() {
		return resName;
	}

	public void setResName(String resName) {
		this.resName = resName;
	}

	public int getResIcon() {
		return resIcon;
	}

	public void setResIcon(int resIcon) {
		this.resIcon = resIcon;
	}

	public Class<?> getClz() {
		return clz;
	}

	public void setClz(Class<?> clz) {
		this.clz = clz;
	}
}
